Skip to content

Preserve tool call IDs through confirmation mediation#88

Merged
lezama merged 1 commit into
mainfrom
fix/preserve-provider-tool-call-id
Jun 4, 2026
Merged

Preserve tool call IDs through confirmation mediation#88
lezama merged 1 commit into
mainfrom
fix/preserve-provider-tool-call-id

Conversation

@lezama

@lezama lezama commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve provider tool call IDs when extracting function calls from wp-ai-client results
  • pass filtered runtime context through to the tool executor so product-owned confirmation overrides reach the gate
  • allow one-shot decision overrides to be bound to exact tool parameters

Tests

  • composer test
  • composer lint:php
  • verified on menta with fake potrero IDs: Anthropic replay keeps toolu_* IDs, no 400, delete tool executes as admin and returns not_found

@lezama lezama merged commit 9c3c68a into main Jun 4, 2026
6 checks passed
@lezama lezama deleted the fix/preserve-provider-tool-call-id branch June 4, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant